package org.adream.account.dao;

import java.util.List;

import org.adream.account.entity.BusinessScaleEntity;
import org.apache.ibatis.annotations.Param;

@BaseMybatisDao
public interface BusinessScaleDao {
	
	int addScale(BusinessScaleEntity scale);
	
	int deleteScale(BusinessScaleEntity scale);
	
	int updateScale(BusinessScaleEntity scale);
	
	List<BusinessScaleEntity> queryScalesByDr(@Param("dr") Integer dr);
	
	BusinessScaleEntity queryScaleByBsidAndDr(@Param("bsId") Integer bsId,@Param("dr") Integer dr);
}